<template>
  <div class="">
    <h3>邀请你的朋友一起来玩</h3>
    <div class="way xinxi">
      <svg class="icon" aria-hidden="true">
        <use xlink:href="#icon-youxiang"></use>
      </svg>
    </div>
    <div class="way weixin">
      <svg class="icon" aria-hidden="true">
        <use xlink:href="#icon-yingdaicon04"></use>
      </svg>
    </div>
    <div class="way sina">
      <svg class="icon" aria-hidden="true">
        <use xlink:href="#icon-tubiao214"></use>
      </svg>
    </div>
    <div class="finish" @click="goBack">
      完成>>
    </div>
  </div>
</template>

<script>
export default {
  name: 'groupInvite',
  data () {
    return {
      vuegConfig: {
        disable: false,
        forwardAnim: 'fadeInRight',
        backAnim: 'fadeInLeft'
      }
    }
  },
  methods: {
    goBack () {
      this.$router.push({
        name: 'groupIndex'
      })
    }
  }
}
</script>

<style lang="scss" scoped>
h3 {
  text-align: center;
  font-size: 40px;
  color: #666;
  margin-top: 113px;
  // margin-bottom: 100px;
}
.way {
  margin: 40px auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  .icon {
    width: 140px;
    height: 140px;
    color: #fff;
  }
  &.xinxi {
    background-color: #3d68be;
    .icon {
      width: 100px;
      height: 100px;
    }
  }
  &.weixin {
    background-color: #31a652;
  }
  &.sina {
    background-color: #e04432;
  }
}
.finish {
  margin: 0 auto;
  width: 280px;
  height: 140px;
  background-color: #efefef;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #666;
  font-size: 42px;
}
</style>

